package dxc.task;

import java.util.concurrent.TimeUnit;

public class TASK_2 implements Runnable{
    private String date="cs";
    @Override
    public void run() {
        System.out.println(date);
        // 休眠 2s
        try {
            TimeUnit.SECONDS.sleep(2);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
